Vcenter Guest WindowsSysprep

Vcenter Guest WindowsSysprep
Vcenter Guest WindowsSysprep

The Vcenter Guest WindowsSysprep schema provides all the settings like user details, administrator details, etc that need to applied for a windows guest operating system during customization.

This schema was added in vSphere API 7.0.0.0.

JSON Example
{
    "gui_run_once_commands": [
        "string"
    ],
    "user_data": {
        "computer_name": {
            "type": "string",
            "fixed_name": "string",
            "prefix": "string"
        },
        "full_name": "string",
        "organization": "string",
        "product_key": "string"
    },
    "domain": {
        "type": "string",
        "workgroup": "string",
        "domain": "string",
        "domain_username": "string",
        "domain_password": "string",
        "domain_ou": "string"
    },
    "gui_unattended": {
        "auto_logon": false,
        "auto_logon_count": 0,
        "password": "string",
        "time_zone": 0
    }
}
array of string
gui_run_once_commands
Optional

A list of commands to run at first user logon, after customizing the guest. These commands are directly mapped to the GuiRunOnce key in the sysprep.xml answer file. These commands are transferred into the sysprep.xml file that VirtualCenter stores on the target virtual disk. For more information about performing unattended installation, check https://technet.microsoft.com/en-us/library/cc771830(v=ws.10).aspx The commands listed here ar executed when a user logs on the first time after customization completes. The logon may be driven by Vcenter Guest GuiUnattended.auto_logon setting. These commands are directly mapped to the GuiRunOnce key in the

This property was added in vSphere API 7.0.0.0.

If missing or null, no commands are run.

user_data
Required

Personal data pertaining to the owner of the virtual machine.

This property was added in vSphere API 7.0.0.0.

domain
Optional

Information needed to join a workgroup or domain.

This property was added in vSphere API 7.0.0.0.

If missing or null, the guest will not be joined to any workgroup or a domain.

gui_unattended
Required

Information related to unattended installation.

This property was added in vSphere API 7.0.0.0.